package org.dc.service;

import org.dc.entity.Shift;

import java.util.List;
import java.util.Map;

/**
 * @user: Vladimir Chernishov
 * @date: 3/5/12
 * @time: 7:33 PM
 */
public interface ShiftDao {

    Map<Integer, Shift> getShiftsMap();
    
    List<Shift> getShifts();

    void save(Shift shift);

    void delete(Shift shift);

    void close();
}
